{% extends "base.html" %}
  {% block content %}
    {% from "forms/macros.html" import render_field_busqueda %}
    <form method="POST" action={{ url_for('entidades.administracion_entidad') }} class="form">
   		{{ form.csrf_token }} 	
   	   	 <table> 
     	 <tr >
     	 	 
  			 <th>  <label>Filtro</label> </th>
     		 <th>{{ render_field_busqueda(form.nombre, class="input text") }}</th>
      	</tr >  			
  		<tr >
  			 
  			<th> <center>ID </center></th>
      		<th> <center> NOMBRE <c/enter></td>
      	</tr >  		
		{% for entidad in entidades %}			
   				<tr >
   				  
      			  <td> <center>{{ entidad.id }} </center></td>
      			  <td> <center>{{ entidad.nombre }} <center></td>
   				</tr>  		 	
		{% endfor %}				
		
	</table> 
	    	 
   <button type="submit" class="button green">
                Buscar
      </button>    </form>    
  {% endblock %}